package com.yike.user.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 设置提现费率参数
 *
 * @author Sakura
 * @since 2024-11-04
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "设置提现费率参数")
public class SetWithdrawalParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("费率")
    @NotNull(message = "费率不能为空")
    private BigDecimal rate;

}
